<?php
protectScript('ExceptionList.php');

define('EXCEPTIONS_DIR', WEBAPP_DIR.'/application/Exceptions/');

define('EMERG', 0); # Emergency: System is unusuable
define('ALERT', 1); # Alert: Action must be taken immediately
define('CRIT', 2); # Critical : Critical conditions
define('ERROR', 3); # Error: Conditions
define('WARN', 4); # Warning: Warning conditions
define('NOTICE', 5); # Notice: Normal but significant condition
define('INFO', 6); # Informational: Informational messages
define('DEBUG', 7); # Debug: debug messages

require_once EXCEPTIONS_DIR.'Exception.php';
require_once EXCEPTIONS_DIR.'MysqliException.php';
require_once EXCEPTIONS_DIR.'PageNotFoundException.php';
require_once EXCEPTIONS_DIR.'SetReadOnlyPropsException.php';
require_once EXCEPTIONS_DIR.'LoginException.php';
